import { CreepRoles } from '../structures/spawn/types'

/**
 * 角色统计
 */
export interface RoomRoleStats {
    [roomName: string]: {
        [role in CreepRoles]?: Creep[]
    }
}

declare global {
    namespace NodeJS {
        interface Global {
            roleStats: RoomRoleStats
        }
    }
}
